<?php

namespace App\Console\Commands;

use App\Library\Crawl\BcoderssCrawl;
use Illuminate\Console\Command;

class CrawlBcoderss extends Command
{
    protected $signature = 'crawl:bcoderss {url}';

    protected $description = 'crawl bcoderss image to save database';

    public function __construct()
    {
        parent::__construct();
    }

    public function handle()
    {
        (new BcoderssCrawl())->crawl($this->argument("url"));
    }
}
